﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DesignPatterns.FactoryMethod
{
    public class LeiFeng
    {
        public string Identity { get; set; }

        public LeiFeng()
        {
            Identity = "雷锋";
        }

        public virtual string Sweep()
        {
            return "扫地";
        }

        public virtual string Wash()
        {
            return "洗衣";
        }

        public virtual string BuyRice()
        {
            return "买米";
        }
    }
}
